<?php
    $this->load->view('wx/public/header.html', [
        'time' => time(),
        'index' => 4,
        'css' => [
            'assets/wx/css/center.css',
        ]
    ]);
?>

<body class="center" ng-controller="wx-center-cashout-detail-controller">
<div class="aui-content aui-margin-b-15">
    <ul class="aui-list aui-media-list gu-clean-border">
        <li class="aui-list-header">
            提现记录
        </li>
        <li class="aui-list-item" ng-repeat="h in lists">
            <div class="aui-media-list-item-inner">
                <div class="aui-list-item-inner">
                    <div class="aui-list-item-text">
                        <div class="aui-list-item-title"
                             ng-class="{'gu-red': h.type == 'cashout', 'gu-green': h.type == 'cashin'}"
                             ng-bind="h.text"></div>
                        <div class="aui-list-item-right"
                             ng-class="{'gu-red': h.type == 'cashout', 'gu-green': h.type == 'cashin'}"
                             ng-bind="h.amount"></div>
                    </div>
                    <div class="aui-list-item-text" ng-bind="h.created"></div>
                </div>
            </div>
        </li>

        <li ng-if="history.length == 0">
            <p class="aui-text-center aui-padded-t-15 aui-padded-b-15">
                ~暂无记录~
            </p>
        </li>
    </ul>
</div>

<?php
    $this->load->view('wx/public/footer.html', [
        'js' => [
            'assets/wx/js/center/cash/cash_detail.js'
        ]
    ]);
?>

